package com.polymathcoder.dpastry.core.util;

import com.polymathcoder.dpastry.api.environment.TimeSource;

/**
 * Created by IntelliJ IDEA.
 * User: Drew
 * Date: Jul 10, 2010
 * Time: 4:07:37 PM
 * To change this template use File | Settings | File Templates.
 */
public class JavaTimeSource implements TimeSource {
    @Override
    public long currentTimeMillis() {
        return System.currentTimeMillis();
    }

    @Override
    public long nanoTime() {
        return System.nanoTime();
    }
}
